package com.ls.controller.booking.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalTime;

/**
 * @ClassName BookH5Vo
 * @Description 预定信息在h5上显示的vo
 * @Author pengyu
 * @Date 2024/7/25 17:14
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class BookH5Vo {
    private Long linkmanId;
    private String linkmanName;
    private String linkmanPhone;
    /**预定日期*/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDate bookingDay;
    /**预计到店时间*/
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    @JSONField(format = "HH:mm:ss")
    private LocalTime arrivalTime;
    /**预定时段 1早餐，2午餐，3下午茶，4晚餐*/
    private Integer timeId;
    /**场地id*/
    private String seatingName;
    /**卡座id*/
    private String boothName;
    /**预计到店人数*/
    private Integer arrivalNum;
    @JsonFormat(pattern = "HH:mm", timezone = "GMT+8")
    @JSONField(format = "HH:mm")
    private LocalTime startTime;
    /**时段结束时间*/
    @JsonFormat(pattern = "HH:mm", timezone = "GMT+8")
    @JSONField(format = "HH:mm")
    private LocalTime endTime;
}
